//REQUIRED CLASS
package project2;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;

import project1.*;


public class Domain extends HashMap<String,String>
{
	public java.lang.String toString(){
		Map<String, String> sortedMap = new TreeMap<String, String>(this);
		StringBuilder toString = new StringBuilder();
		toString.append("\nDomain("+this.size()+"):");
		for(Object key : sortedMap.keySet()){
			toString.append("\n"+key);
		}
		return toString.toString();
	}
}
